package com.firestone.bean.entity.mysql.primary;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author CAIYJ
 * @since 2018-04-19
 */
@TableName("im_area")
public class ImArea extends Model<ImArea> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 产业地图名称
     */
    private String name;
    /**
     * 详细地址
     */
    private String address;
    /**
     * 区域
     */
    private String area;
    /**
     * 市
     */
    private String city;
    /**
     * 省
     */
    private String province;
    /**
     * 国家
     */
    private String country;
    /**
     * 产业大脑logo
     */
    @TableField("brain_logo")
    private String brainLogo;
    /**
     * 产业大脑title
     */
    @TableField("brain_title")
    private String brainTitle;
    /**
     * 数据大屏logo
     */
    @TableField("map_logo")
    private String mapLogo;
    /**
     * 数据大屏title
     */
    @TableField("map_title")
    private String mapTitle;
    /**
     * 1:国家、2:省级、3:市级、4:区级、5:园区
     */
    @TableField("map_level")
    private Integer mapLevel;
    /**
     * 区域范围
     */
    @TableField("location_scope")
    private String locationScope;
    /**
     * 地图缩放级别
     */
    @TableField("view_level")
    private String viewLevel;
    /**
     * 中心定位点
     */
    @TableField("view_center")
    private String viewCenter;
    /**
     * 地图旋转方位
     */
    @TableField("view_position")
    private String viewPosition;
    /**
     * '是否删除 1：未删除；0：已删除'
     */
    @TableField("is_delete")
    private Integer isDelete;
    /**
     * 创建人
     */
    private Long creator;
    /**
     * 修改人
     */
    private Long reviser;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getBrainLogo() {
        return brainLogo;
    }

    public void setBrainLogo(String brainLogo) {
        this.brainLogo = brainLogo;
    }

    public String getBrainTitle() {
        return brainTitle;
    }

    public void setBrainTitle(String brainTitle) {
        this.brainTitle = brainTitle;
    }

    public String getMapLogo() {
        return mapLogo;
    }

    public void setMapLogo(String mapLogo) {
        this.mapLogo = mapLogo;
    }

    public String getMapTitle() {
        return mapTitle;
    }

    public void setMapTitle(String mapTitle) {
        this.mapTitle = mapTitle;
    }

    public Integer getMapLevel() {
        return mapLevel;
    }

    public void setMapLevel(Integer mapLevel) {
        this.mapLevel = mapLevel;
    }

    public String getLocationScope() {
        return locationScope;
    }

    public void setLocationScope(String locationScope) {
        this.locationScope = locationScope;
    }

    public String getViewLevel() {
        return viewLevel;
    }

    public void setViewLevel(String viewLevel) {
        this.viewLevel = viewLevel;
    }

    public String getViewCenter() {
        return viewCenter;
    }

    public void setViewCenter(String viewCenter) {
        this.viewCenter = viewCenter;
    }

    public String getViewPosition() {
        return viewPosition;
    }

    public void setViewPosition(String viewPosition) {
        this.viewPosition = viewPosition;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Long getReviser() {
        return reviser;
    }

    public void setReviser(Long reviser) {
        this.reviser = reviser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ImArea{" +
        ", id=" + id +
        ", name=" + name +
        ", address=" + address +
        ", area=" + area +
        ", city=" + city +
        ", province=" + province +
        ", country=" + country +
        ", brainLogo=" + brainLogo +
        ", brainTitle=" + brainTitle +
        ", mapLogo=" + mapLogo +
        ", mapTitle=" + mapTitle +
        ", mapLevel=" + mapLevel +
        ", locationScope=" + locationScope +
        ", viewLevel=" + viewLevel +
        ", viewCenter=" + viewCenter +
        ", viewPosition=" + viewPosition +
        ", isDelete=" + isDelete +
        ", creator=" + creator +
        ", reviser=" + reviser +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
